package me.siphone.http.api;

import androidx.annotation.NonNull;
import com.hjq.http.config.IRequestApi;

public class QueryCallHistoryApi implements IRequestApi {

    private int pageNum;
    private int pageSize;

    public QueryCallHistoryApi(int pageNum, int pageSize) {
        this.pageNum = pageNum;
        this.pageSize = pageSize;
    }

    @NonNull
    @Override
    public String getApi() {
        return "/prod-api/shout/shout/list";
    }

    public static class CallHistory {
        private String callId;
        private String recordContent;
        private String userName;

        public String getCallId() {
            return callId;
        }

        public void setCallId(String callId) {
            this.callId = callId;
        }

        public String getRecordContent() {
            return recordContent;
        }

        public void setRecordContent(String recordContent) {
            this.recordContent = recordContent;
        }

        public String getUserName() {
            return userName;
        }

        public void setUserName(String userName) {
            this.userName = userName;
        }
    }
}
